import request from '@/sheep/request';

export default {
	// 获取品牌
	carIndex: (params) =>
		request({
			url: 'car/index',
			method: 'GET',
			params,
			custom: {
				auth: false,
			},
		}),
	// 根据品牌获取车型
	carData: (params) =>
		request({
			url: 'car/car_data',
			method: 'GET',
			params,
			custom: {
				auth: false,
			},
		}),
	// 汽车列表
	carList: (params) =>
		request({
			url: 'car/car_list',
			method: 'GET',
			params,
			custom: {
				auth: false,
			},
		}),
	// 汽车详情
	carSku: (params) =>
		request({
			url: 'car/car_sku',
			method: 'GET',
			params,
			custom: {
				auth: false,
			},
		}),
	// 汽车参数详情信息
	carDetails: (params) =>
		request({
			url: 'car/car_details',
			method: 'GET',
			params,
			custom: {
				auth: false,
			},
		}),
};